package automaton;

public class NotDeterministicInitialStateException extends Exception {

	private static final long serialVersionUID = 1L;

	private State e1, e2;

	public NotDeterministicInitialStateException(State e1, State e2) {
		this.e1 = e1;
		this.e2 = e2;
	}

	public State[] initialStates() {
		return new State[] { e1, e2 };
	}

	public String getMessage() {
		return "Two initial states " + e1 + " and " + e2;
	}
}
